package org.shan.security.core.social.ali.connet;

import org.springframework.social.oauth2.AccessGrant;

/**
 * Created by amanda.shan on 2019/3/20.
 */
public class AliAccessGrant extends AccessGrant {

    private String openId;

    public AliAccessGrant( String openId, String accessToken, String scope, String refreshToken, Long expiresIn) {
        super(accessToken, scope, refreshToken, expiresIn);

        this.openId = openId;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }
}
